package com.antu.first.bean;

/**
 * 房间类型，每个酒店能够设置自己的房间类型
 * Created by Administrator on 2018/3/3.
 */
public class RoomType {

    private Integer rtId;//类型Id

    private String rtName;//类型名称

    private String rtDesc;//类型描述

    private Hotel hotel;//酒店Id

    public RoomType() {
    }

    public RoomType(Integer rtId, String rtName, String rtDesc, Hotel hotel) {
        this.rtId = rtId;
        this.rtName = rtName;
        this.rtDesc = rtDesc;
        this.hotel = hotel;
    }

    public Integer getRtId() {
        return rtId;
    }

    public void setRtId(Integer rtId) {
        this.rtId = rtId;
    }

    public String getRtName() {
        return rtName;
    }

    public void setRtName(String rtName) {
        this.rtName = rtName;
    }

    public String getRtDesc() {
        return rtDesc;
    }

    public void setRtDesc(String rtDesc) {
        this.rtDesc = rtDesc;
    }

    public Hotel getHotel() {
        return hotel;
    }

    public void setHotel(Hotel hotel) {
        this.hotel = hotel;
    }

    @Override
    public String toString() {
        return "RoomType{" +
                "rtId=" + rtId +
                ", rtName='" + rtName + '\'' +
                ", rtDesc='" + rtDesc + '\'' +
                ", hotel=" + hotel +
                '}';
    }
}
